*{
    margin: 0px;
    padding: 0px;
}
#box{
    width: 1330px;
    background: rgb(243, 244, 247);
    height: 714px;
    margin-left: 192px;
    padding-top: 60px;
}

/* 顶部div */
#TopDiv{
    width: 1116px;
    height: 64px;
    margin-left: 30px;
    line-height: 64px;
}
#TopDiv span:nth-of-type(1){
    color: rgb(64, 64, 64);
    border-right: 1px solid rgb(216, 221, 227);
    cursor: pointer;
}
#TopDiv span:nth-of-type(2){
    color: rgb(51, 51, 51);
}
#FromDiv {
    width: 1270px;
    height: 400px;
    background: rgb(255, 255, 255);
    border: 1px solid rgb(243, 244, 247);
    margin: 30px;
    border-radius: 10px;
}
.input:nth-of-type(1){
    margin-top: 20px;
    margin-left: 176px;
    line-height: 50px;
}
.input:nth-of-type(2){
    margin-left: 160px;
    line-height: 50px;
}
.input:nth-of-type(3){
    margin-left: 145px;
    line-height: 50px;
}
.input:nth-of-type(4){
    margin-left: 145px;
    line-height: 50px;
}
.text{
    width: 293px;
    height: 40px;
    margin-bottom: 20px;
}
.red{
    color: rgb(247, 108, 108);
}
.cancel{
    width: 80px;
    height: 50px;
    border: 1px solid rgb(216, 221, 227);
    background: #FFFFFF;
    padding: 12px 20px;
}
.conserve{
    width: 80px;
    height: 50px;
    border: 1px solid rgb(216, 221, 227);
    background: #FFFFFF;
    padding: 12px 20px;
}
.add{
    width: 150px;
    height: 50px;
    border: 1px solid rgb(216, 221, 227);
    margin: 0px 0px 0px 10px;
    padding: 12px 20px;
}
.button{
    width: 1056px;
    height: 70.4px;
    border-top: 1px solid rgb(216, 221, 227);
    padding: 30px 0px 0px ;
    text-align: center;
    margin-left: 28px;
}
.hover {
    border: 1px solid rgb(186, 192, 205);
    border-radius: 4px;
}
.focus{
    border: 0;
    outline: 1px solid rgb(168, 240, 135); 
}

input[type="text"]{
    border-radius: 5px;
    border: 1px solid rgb(229, 228, 228);
}
input[type="text"] {
    padding-left: 20px;
    border: 1px solid rgb(229, 228, 228); /* 默认边框颜色 */  
    color: #000; /* 默认文本颜色 */  
}  

input[type="text"]:hover {  
    border:1px solid rgb(186, 192, 205); /* 悬浮时边框颜色 */  
}  

input[type="text"]:focus {
    border: 0;
    outline:1px solid rgb(168, 240, 135); /* 获取焦点时边框颜色 */  
}
input[type="text"]::placeholder{
    color: rgb(186, 192, 205);
}

/* 取消按钮 */
.cancel:hover{
    border: none;
    outline:1px solid rgb(168, 240, 135);
    background-color: rgba(190, 235, 211, 0.1);
    color: rgb(168, 240, 135);
}
.cancel{
    border-radius: 5px;
    margin-right: 10px;
    
}
.conserve{
    color: rgb(255, 255, 255);
    background-color: rgb(51, 51, 51);
    border: 0px;
    border-radius: 5px;
}
.add{
    background-color: rgb(168, 240, 135);
    border: 0px;
    border-radius: 5px;
}

.conserve:hover{
    background-color: rgba(51, 51, 51,0.5);
}
.add:hover{
    background-color: rgba(168, 240, 135,0.5);
}

.Errorname,.Errorcartnumber,.Errorphone,.Errorbalance{
    color: red;
    font-size: 12px;
}